<template>
  <div id="single"> 
    <input type="text" class="single-title" v-model="data.headerName">
    <input type="text" class="single-desc" v-model="data.desc">
  </div>
</template>

<script>
export default {
  props: ['data'],
  data() {
    return {
      // title: '问卷标题',
      // desc: '感谢您能抽出几分钟时间来参加本次答题'
    }
  }
}
</script>

<style lang="less">
  @import './style/common.css';
  #single {
    .single-title {
      display: inline-block;
      border: none;
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 5px;
      width: 300px;
      // color: 
    }
    .single-desc {
      display: inline-block;
      border: none;
      font-size: 16px;
      margin-bottom: 5px;
      width: 300px;
    }
  }
</style>